package com.wushi.springcloud.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author wushumin
 * @version 1.0
 * @date 2019-09-23 10:04
 */
@FeignClient(name="service-rodvider")
public interface HelloRemoteService {
    @GetMapping("/hello")
    public String helloRemote(@RequestParam String name);
}
